import request from '@/utils/request'

export function waterCleanWaterBoxListApi(query) {
  return request({
    url: '/zp/waterClean/waterBoxList',
    method: 'get',
    params: query
  })
}
export function waterTankAddApi(query) {
  return request({
    url: '/zp/waterTank/add',
    method: 'post',
    data: query
  })
}
export function waterTankListApi(query) {
  return request({
    url: '/zp/waterTank/waterTankList',
    method: 'get',
    params: query
  })
}
export function waterManagerListApi(query) {
  return request({
    url: '/zp/waterManager/list',
    method: 'get',
    params: query
  })
}
export function waterCleanListApi(query) {
  return request({
    url: '/zp/waterClean/list',
    method: 'get',
    params: query
  })
}
export function waterCleanAddApi(query) {
  return request({
    url: '/zp/waterClean/add',
    method: 'post',
    data: query
  })
}
export function checkReportListApi(query) {
  return request({
    url: '/zp/checkReport/list',
    method: 'get',
    params: query
  })
}
export function checkReportAddApi(query) {
  return request({
    url: '/zp/checkReport/add',
    method: 'post',
    data: query
  })
}
export function personnelHealthyListApi(query) {
  return request({
    url: '/zp/personnel/healthyList',
    method: 'get',
    params: query
  })
}
export function personnelAddApi(query) {
  return request({
    url: '/zp/personnel/add',
    method: 'post',
    data: query
  })
}
export function personnelEditApi(query) {
  return request({
    url: '/zp/personnel/edit',
    method: 'post',
    data: query
  })
}
export function personnelRemoveApi(query) {
  return request({
    url: '/zp/personnel/removeById',
    method: 'post',
    data: query
  })
}

export function waterManagerAddApi(query) {
  return request({
    url: '/zp/waterManager/add',
    method: 'post',
    data: query
  })
}
export function cleanWarnListApi(query) {
  return request({
    url: '/zp/cleanWarn/list',
    method: 'get',
    praams: query
  })
}
export function checkReportDeadlineListApi(query) {
  return request({
    url: '/zp/checkReport/deadlineList',
    method: 'get',
    praams: query
  })
}
export function personnelDbHealthyListApi(query) {
  return request({
    url: '/zp/personnel/dbHealthyList',
    method: 'get',
    praams: query
  })
}
export function cleanWarnEditApi(query) {
  return request({
    url: '/zp/cleanWarn/edit',
    method: 'post',
    data: query
  })
}
export function purchaseListApi(query) {
  return request({
    url: '/zp/purchase/list',
    method: 'get',
    params: query
  })
}
export function purchaseAddApi(query) {
  return request({
    url: '/zp/purchase/add',
    method: 'post',
    data: query
  })
}
export function waterTankEditApi(query) {
  return request({
    url: '/zp/waterTank/edit',
    method: 'post',
    data: query
  })
}
export function waterManagerEditApi(query) {
  return request({
    url: '/zp/waterManager/edit',
    method: 'post',
    data: query
  })
}
export function waterCleanDelApi(query) {
  return request({
    url: '/zp/waterClean/del',
    method: 'post',
    data: query
  })
}
